package com.t123.service;

import com.t123.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface UserService {

    List<User> getUsers ();

    User getUserById(Long id);

    int addUser(User user);

    int updateUser(User user);

    int deleteUser(Long id);
}
